.box {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.box:focus-within > .wallpaper {
  filter: blur(8px);
}
.box .stateBox {
  position: fixed;
  top: 30px;
  left: 10%;
}
.box .wallpaper {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100vw;
  background-size: cover;
  min-width: 300px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  transition: filter 0.3s;
}
.box .wallpaper::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transform: scale(1.1);
  background: inherit;
  z-index: 2;
}
.box .headBox {
  height: 56px;
  width: 100%;
}
@media (max-width: 768px) {
  .box .frame {
    width: 50%;
    height: 44px;
    min-height: 44px;
  }
  .box .frame:focus-within {
    width: 80%;
    opacity: 0.7;
  }
  .box .logo {
    width: 200px;
  }
}
.box .logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.box .logo .logoGap {
  width: 100%;
  height: 6vh;
}
.box .logo button img {
  height: 130px;
  width: 130px;
}
@media (min-width: 768px) {
  .box .frame {
    width: 280px;
    flex-shrink: 0;
    height: 44px;
    min-height: 44px;
    transition: box-shadow 0.5s;
  }
  .box .frame:focus-within {
    width: 561px;
    opacity: 0.7;
    box-shadow: none;
  }
  .box .frame:not(:focus-within) {
    box-shadow: 0px 0px 10px #666;
  }
  .box .frame .input {
    box-shadow: 0px 0px 10px #666;
  }
  .box .logo {
    width: 200px;
  }
}
.box button {
  background: transparent;
  border: 0;
}
.box .frame {
  transition: all 0.5s;
  box-sizing: border-box;
  position: relative;
  z-index: 9;
  opacity: 0.5;
  border-radius: 22px;
  background-color: #fff;
}
.box .frame:focus-within .menu {
  height: var(--menuHeight);
}
.box .frame:focus-within .clearIcon {
  opacity: 1;
}
.box .frame:focus-within .searchIcon {
  left: 12px;
  transform: none;
}
.box .frame .clearIcon {
  top: 10px;
  position: absolute;
  right: 12px;
  height: 24px;
  width: 24px;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 10;
}
.box .frame .searchIcon {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  transition: left 0.5s, transform 0.5s;
  height: 24px;
  width: 24px;
  z-index: 2;
}
.box .frame:not(:focus-within) .input {
  opacity: 0;
  z-index: 3;
}
.box .frame .input {
  width: 100%;
  height: 44px;
  font-size: 16px;
  border-radius: 22px;
  border: 0;
  outline: none;
  padding: 0 50px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  opacity: 1;
  transition: all 0.5s;
  z-index: 2;
}
.box .frame .menu {
  width: 100%;
  overflow: hidden;
  border-bottom-right-radius: 22px;
  border-bottom-left-radius: 22px;
  transform: translateY(-15px);
  background-color: #fff;
  height: 0;
  transition: height 0.5s;
}
.directive input {
  font-weight: bold;
  color: red;
}
